package de.pharmacontrol.psa.beans.interfaces;

import de.pharmacontrol.pilot.entities.Line;
import de.pharmacontrol.pilot.entities.LogEntry;
import de.pharmacontrol.pilot.entities.User;

public interface LoggerService {

	public Line getLine();

	public void setLine(Line line);

	public User getUser();

	public void setUser(User user);

	public void debug(String message);

	public void info(String message);

	public void warn(String message);

	public void error(String message, Throwable e);

	public void fatal(String message, Throwable e);

	public void log(LogEntry.Type type, String message);

	public void log(LogEntry.Type type, String message, Throwable e);

	public void log(LogEntry.Type type, Line line, User user, String message, Throwable e);

}
